package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.TaskTagKeyword;
import com.xjscrm.console.param.operatePlan.TaskTagKeywordQuery;
import com.xjscrm.console.vo.TaskTagKeywordVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TagKeywordMapper {
    int addTaskTagKeyword(TaskTagKeyword taskTagKeyword);

    List<TaskTagKeywordVo> getTagKeywordList(TaskTagKeywordQuery taskTagKeywordQuery);


    TaskTagKeyword getById(@Param("id") Long tagKeywordId, @Param("merId") Long merId);

    int updateTagKeyword(TaskTagKeyword taskTagKeyword);

    int deleById(@Param("id") Long tagKeywordId, @Param("merId") Long merId);

}
